<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>SFT</title>
            </f:facet>
        </h:head>
        <h:body>
            <p:layout fullPage="true">
                <p:layoutUnit position="west" size="260" collapsible="f">
                    <h:form> 
                        <p:panelMenu style="width:250px" id="menu">  
                            <p:submenu label="Aluno">
                                <p:menuitem value="Pesquisar Aluno" outcome="/Telas/pesquisarAluno"/>
                            </p:submenu> 
                            <p:submenu label="Fichas de Treino">  
                                <p:menuitem value="Criar Treino" outcome="/Telas/criarTreino"/> 
                                <p:menuitem value="Pesquisar Treino" outcome="/Telas/listaTreinos"/>
                            </p:submenu>
                            <p:separator />
                            <p:submenu label="Exercícios">
                                <p:menuitem value="Criar Exercício" outcome="/Telas/criarExercicio"/>   
                                <p:menuitem value="Pesquisar Exercício" outcome="/Telas/pesquisarExercicio"/>
                            </p:submenu>
                            <p:submenu label="Sair">
                            </p:submenu>     
                        </p:panelMenu>
                    </h:form>
                </p:layoutUnit>
                <p:layoutUnit position="center">
                    <ui:insert name="content"></ui:insert>
                </p:layoutUnit>
            </p:layout>    
        </h:body>
    </f:view>
</html>

